import Request from "@/util/request.js";

const apiRequest = new Request();

export const getOrderListApi = (params) => {
    return apiRequest.post("/api/order.order/index", params);
}

export const allocateOrderApi = (params) => {
    return apiRequest.post("/api/order.order/allocate", params);
}

export const createOrderApi = (params) => {
    return apiRequest.post("/api/order.order/create", params);
}

export const updateOrderApi = (params) => {
    return apiRequest.post("/api/order.order/update", params);
}

